gnttab: re-arrange struct active_grant_entry
authorJan Beulich <jbeulich@suse.com>
Thu, 17 Aug 2017 12:42:58 +0000 (14:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 17 Aug 2017 12:42:58 +0000 (14:42 +0200)
commitb429172b8560e65eb73b14085e12f7e1d444f7aa
tree9c191e67232afadff95812b843f1b3089adabfbc
parente205563158ec36eb64a529d2c566d70d0084c870
gnttab: re-arrange struct active_grant_entry

While benign to 32-bit arches, this shrinks the size from 56 to 48
bytes on 64-bit ones (while still leaving a 16-bit hole).

Take the opportunity and consistently use bool/true/false for all
is_sub_page uses.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/grant_table.c